﻿CodeMirror.colorize=function(){function e(a,d){if(3==a.nodeType)return d.push(a.nodeValue);for(var b=a.firstChild;b;b=b.nextSibling)e(b,d),h.test(a.nodeType)&&d.push("\n")}var h=/^(p|li|div|h\\d|pre|blockquote|td)$/;return function(a,d){a||(a=document.body.getElementsByTagName("pre"));for(var b=0;b<a.length;++b){var c=a[b],f=c.getAttribute("data-lang")||d;if(f){var g=[];e(c,g);c.innerHTML="";CodeMirror.runMode(g.join(""),f,c);c.className+=" cm-s-default"}}}}();